9c5318bc71b96184a293873a18bf25974a6954a5,arms/src/main/java/com/jess/arms/base/BaseApplication.java,BaseApplication,onCreate,#,34

Before Change


    public void onCreate() {
        super.onCreate();
        mApplication = this;
        this.mClientModule = new ClientModule(getBaseUrl());//用于æ??ä¾›okhttpå’Œretrofitçš„å?•列
        this.mAppModule = new AppModule(this);//æ??ä¾›application
        this.mImagerModule = new ImageModule();//图片加载框架默认使用glide

After Change


    public void onCreate() {
        super.onCreate();
        mApplication = this;
        this.mClientModule = ClientModule//用于æ??ä¾›okhttpå’Œretrofitçš„å?•列
                .buidler()
                .baseurl(getBaseUrl())
                .globeHttpResultHandler(getHttpResultHandler())
                .Interceptors(getInterceptors())
                .build();
        this.mAppModule = new AppModule(this);//æ??ä¾›application
        this.mImagerModule = new ImageModule();//图片加载框架默认使用glide

        if (Config.Debug) {//Timber日志打�
            Timber.plant(new Timber.DebugTree());
        }
        if (Config.useCanary) {//leakCanary内存泄露检查
            LeakCanary.install(this);
        }
    }